/*
 * utils.h
 *
 *  Created on: Dec 2, 2010
 *      Author: fify
 */

#ifndef UTILS_H_
#define UTILS_H_

#include "jconfig.h"

#include <string>
#include <vector>
using std::string;
using std::vector;

namespace CncrJConfig
{

char * find_end_line(char *s);
int expect(const vector<string> result, string str);
void get_itfname_by_mac(JConfig *jconfig);

}

#endif /* UTILS_H_ */
